﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RoleList.aspx.cs" Inherits="Console_System_Role_RoleList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="pagerForm" method="post" action="Console/System/Role/RoleList.aspx">
    <input type="hidden" name="status" value="status" />
    <input type="hidden" name="keywords" value="keywords" />
    <input type="hidden" name="numPerPage" value="<% =NumPerPage %>" />
    <input type="hidden" name="pageNum" value="1" />
    <input type="hidden" name="orderField" value="" />
    </form>
    <div class="pageHeader">
        <!--<搜索栏>-->
        <form id="searchForm" rel="pagerForm" onsubmit="return navTabSearch(this);" action="Console/System/Role/RoleList.aspx"
        method="post">
        <div class="searchBar">
            <ul class="searchContent">
                <li>
                    <label>
                        角色名称：</label>
                          <input name="txtRoleName" type="text" value="<%=RoleNameString %>" />
                </li>
            </ul>
            <div class="subBar">
                <ul>
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit">
                                    检索</button></div>
                        </div>
                    </li>
                    <!--  <li><a class="button" href="demo_page6.html" target="dialog" rel="dlg_page1" title="查询框"><span>高级检索</span></a></li>-->
                </ul>
            </div>
        </div>
        </form>
        <!--</搜索栏>-->
    </div>
    <div class="pageContent">
        <div class="panelBar">
            <ul class="toolBar">
                <li><a class="add" target="dialog" width="520" height="250" href="Console/System/Role/RoleAdd.aspx">
                    <span>添加角色</span> </a></li>
                <li><a class="delete" href="Console/System/Role/Role.ashx?title=delete" posttype="string" rel="ids" target="selectedTodo" title="确实要删除选定角色吗?"><span>批量删除</span>
                </a></li>
            </ul>
        </div>
        <table class="table" width="100%" layouth="138">
            <thead>
                <tr>
                    <th width="22">
                        <input type="checkbox" group="ids" class="checkboxCtrl">
                    </th>
                    <th width="80">
                        角色名称
                    </th>
                    <th width="200">
                        备注
                    </th>
                    <th width="70">
                        操作
                    </th>
                </tr>
            </thead>
            <tbody>
                <asp:Repeater ID="RepeaterTr" runat="server">
                    <ItemTemplate>
                        <tr>
                            <td>
                                <input name="ids" type="checkbox" value='<%#DataBinder.Eval(Container.DataItem, "ID")%>' />
                            </td>
                            <td>
                                <%# DataBinder.Eval(Container.DataItem, "RoleName")%>
                            </td>
                            <td>
                                <%# DataBinder.Eval(Container.DataItem, "Remark")%>
                            </td>
                            <td>
                                <a title="编辑" target="dialog"   href="Console/System/Role/RoleEdit.aspx?id=<%# DataBinder.Eval(Container.DataItem, "ID")%>"
                                    class="btnEdit">编辑</a> <a title="删除" target="ajaxTodo" href="Console/System/Role/Role.ashx?title=delete&ids=<%# DataBinder.Eval(Container.DataItem, "ID")%>"
                                        class="btnDel">删除</a>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </tbody>
        </table>
        <div class="panelBar">
            <div class="pages">
                <span>显示</span>
                <select class="combox" name="numPerPage" change="navTabPageBreak" param="numPerPage">
                    <option value="<%=NumPerPage%>">选择</option>
                    <option value="20">20</option>
                    <option value="30">30</option>
                    <option value="50">50</option>
                    <option value="100">100</option>
                </select>
                <span>条，共<%=TotalCount%>条</span>
            </div>
            <div class="pagination" targettype="navTab" totalcount="<%=TotalCount%>" numperpage="<%=NumPerPage%>"
                pagenumshown="<%=PageNumShown%>" currentpage="<%=PageNum%>">
            </div>
        </div>
    </div>
</body>
</html>
